package units;

import java.io.Serializable;

public class Position implements Serializable {
	private static final long serialVersionUID = 8686371286478417790L;

	private float x, y;
	
	private int sistemaEstelar;
	private int planeta;
	
	public Position() {
		this(0, 0);
	}
	
	public Position(float x, float y) {
		this(x, y, -1);
	}
	
	public Position(float x, float y, int sistemaEstelar) {
		this(x, y, sistemaEstelar, -1);
	}
	
	public Position(float x, float y, int sistemaEstelar, int planeta) {
		super();
		this.x = x;
		this.y = y;
		this.sistemaEstelar = sistemaEstelar;
		this.planeta = planeta;
	}

	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}

	public int getSistemaEstelar() {
		return sistemaEstelar;
	}

	public void setSistemaEstelar(int sistemaEstelar) {
		this.sistemaEstelar = sistemaEstelar;
	}

	public int getPlaneta() {
		return planeta;
	}

	public void setPlaneta(int planeta) {
		this.planeta = planeta;
	}
}
